package cn.iocoder.yudao.module.ems.convert.outbound;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.ems.controller.admin.outbound.vo.*;
import cn.iocoder.yudao.module.ems.dal.dataobject.outbound.OutboundDO;

/**
 * 出库记录 Convert
 *
 * @author dason
 */
@Mapper
public interface OutboundConvert {

    OutboundConvert INSTANCE = Mappers.getMapper(OutboundConvert.class);

    OutboundDO convert(OutboundCreateReqVO bean);

    OutboundDO convert(OutboundUpdateReqVO bean);

    OutboundRespVO convert(OutboundDO bean);

    List<OutboundRespVO> convertList(List<OutboundDO> list);

    PageResult<OutboundRespVO> convertPage(PageResult<OutboundDO> page);

    List<OutboundExcelVO> convertList02(List<OutboundDO> list);

}
